package cn.fenqing168.springcloud.service;

import cn.fenqing168.springcloud.service.impl.PaymentFeignServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author fenqing
 */
@FeignClient(value = "cloudalibaba-provider-payment", fallback = PaymentFeignServiceImpl.class)
public interface IPaymentFeignService {

    /**
     * 测试接口
     * @return
     */
    @GetMapping("/payment/nacos")
    String test();

}
